package com.app.car.bean;

import com.alibaba.fastjson.annotation.JSONField;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.Generated;

@Entity(indexes = {@Index(value = "sna,dna", unique = true)})


public class BaseDataDeviceListData extends BasisBean {
    /**
     * {
     *       "sid": "2201100001",
     *       "aid": "4",
     *       "dna": "设备",
     *       "sno": "1",
     *       "sna": "茶青秤"
     *     }
     */

    private static final long serialVersionUID = 1L;


    @JSONField(name = "sid")
    private String sid;
    @JSONField(name = "dna")
    private String dna;
    @JSONField(name = "sno")
    private String sno;
    @JSONField(name = "sna")
    private String sna;

    @Generated(hash = 175217684)
    public BaseDataDeviceListData(String sid, String dna, String sno, String sna) {
        this.sid = sid;
        this.dna = dna;
        this.sno = sno;
        this.sna = sna;
    }

    @Generated(hash = 1754890325)
    public BaseDataDeviceListData() {
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getDna() {
        return dna;
    }

    public void setDna(String dna) {
        this.dna = dna;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getSna() {
        return sna;
    }

    public void setSna(String sna) {
        this.sna = sna;
    }
}
